import React, { Component } from 'react'
import intl from 'react-intl-universal'
import { Jumbotron, Container, Row, Col } from 'react-bootstrap'

class MyJumbotron extends Component {
  render () {
    const title = this.props.title ? this.props.title : 'login please'
    return (
      <Jumbotron fluid>
        <Container>
          <Row>
            <Col>
              <h1>
                {intl.get(title)}
              </h1>
            </Col>
          </Row>
        </Container>
      </Jumbotron>
    )
  }
}

export default MyJumbotron
